package com.niuniu.rushdorm.util;
/**
 * @author Meng
 */
import com.alibaba.fastjson.JSON;

public class JsonUtils {
    public static String toJsonString(Object obj){
        String s = JSON.toJSONString(obj);
        return s;
    }
    public static<T> T parseObject(String str,Class<T> clazz){
        return JSON.parseObject(str,clazz);
    }
}
